package com.smr.micservice.common;

/**
 * 认证状态常量,这里携带http状态码统一返回401
 *
 * @author shi_mengran
 */
public class AuthConst {
    private AuthConst(){}

    /**
     * 响应状态header
     */
    public static final String STATUS_HEADER = "Auth-Status";

    /**
     * token校验通过
     */
    public static final String SUCCESS = "SUCCESS";

    /**
     * token即将过期
     */
    public static final String COMING_SOON = "COMING_SOON";

    /**
     * token已过期
     */
    public static final String OVERTIME = "OVERTIME";

    /**
     * 提供的账号密码不正确，认证被阻止
     */
    public static final String DENY = "DENY";
}
